﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class SessionID : System.Web.UI.Page
{
    protected override PageStatePersister PageStatePersister
    {
        get
        {
            return new SessionPageStatePersister(this);
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        this.ViewState["msg"] = "Hello, world.";
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        this.Session.Abandon();
    }
}